package org.tagging.dao.philippines;

import org.apache.ibatis.annotations.Param;
import org.tagging.model.TaggingPhilippines;

import java.time.LocalDateTime;
import java.util.List;

public interface PhilippinesMapper {
    List<TaggingPhilippines> listNotUsingAndUpdated(Integer size);

    void updateSelective(TaggingPhilippines tagging);

    List<TaggingPhilippines> listNotUsingAndTranslated(Integer size);

    List<TaggingPhilippines> listNotUsingAndAbbreviated(Integer size);

    List<TaggingPhilippines> listNotUsingAndUnknownWorded(Integer size);

    List<TaggingPhilippines> queryByTimePeriod(@Param("startTime") LocalDateTime startTime,
                                               @Param("endTime") LocalDateTime endTime,
                                               @Param("mode") int mode);

}
